package com.ken.blog.controller.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/test")
public class TestController {

    @RequestMapping("/error")
    public String testError() throws Exception {
        throw new Exception("错误测试");
    }
}
